package com.quanyue.music.user.service;

import com.quanyue.music.domain.entity.Manager;

import java.util.List;

public interface ManagerService {

    List<Manager> findAll(String id);

    Manager findByPassword(String username, String password);

    Manager findById(String id);

    Manager sessionManager(String id);

    Manager add(Manager manager);

    void update(Manager manager);

    void updatePassword(String id, String current, String newPassword);

    void remove(String id);

}
